import {developmentUrl} from "../config/env"
import request from "axios"
export const collectionList=(data)=>request({
    url:`${developmentUrl}//shop/favorite/list?page=${data.page}&limit=${data.limit}`,
    type:"GET"
})
export const userDetails=(data)=>request({
    url:`${developmentUrl}/shop/address/list?page=${data.page}&limit=${data.limit}&idUser=${data.idUser}`,
    type:"GET"
})
export const goodsEdit=(data)=>request({
    url:`${developmentUrl}/shop/goods?id=${data.id}`,
    type:"GET"
})